package com.ruoyi.basic.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.basic.domain.BasicUser;
import org.springframework.stereotype.Repository;

/**
 * 用户基本信息Mapper接口
 * 
 * @author ruoyi
 * @date 2021-08-19
 */
@Repository
public interface BasicUserMapper extends BaseMapper<BasicUser>
{
    /**
     * 根据主键查询
     * @param id
     * @return
     */
    public BasicUser selectBasicUserById(Long id);

    /**
     * 根据主键查询
     * @param idCard
     * @return
     */
    public BasicUser selectBasicUserByIdCard(String idCard);

    /**
     * 查询用户基本信息列表
     * 
     * @param basicUser 用户基本信息
     * @return 用户基本信息集合
     */
    public List<BasicUser> selectBasicUserList(BasicUser basicUser);
}
